package com.yunjijia.mapperOA;

import com.yunjijia.pojoOA.Ydjf;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YdjfMapper {
    int insert(Ydjf record);

    int insertSelective(Ydjf record);

    Ydjf selectByPrimaryKey(long id);

    /**
     *
     * @return 查找所有oa用户
     */
    List<Ydjf> findAllYdjf();

    /**
     *
     * @return 根据名字查找oa用户
     */
    Ydjf selectByPrimaryName(String name);



}